<template>
  <div>
    <sonComponent ref="tex"></sonComponent>
    <button @click="subBtn">提交</button>
  </div>
</template>

<script>
import sonComponent from './components/sonComponent.vue'
export default {
  components: {
    sonComponent,
  },
  props: {},
  data() {
    return {}
  },
  methods: {
    subBtn() {
      this.$refs.tex.zidingyihanshu()
    },
  },
}
</script>

<style scoped></style>
